from 测试模块2 import Cat
from 测试模块2 import say_hello 
# 相同的函数，后导入的函数会把先导入的函数替代掉
# from 测试模块1 import say_hello
# 给函数起别名
from 测试模块1 import say_hello as say_hello2
#from 模块名 import * 从模块导入全部工具(类,函数)

say_hello()
say_hello2()

wangcai = Cat()
print(wangcai)